package com.lagou.rpc.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.server.ConfigurableWebServerFactory;
import org.springframework.boot.web.server.WebServerFactoryCustomizer;

/**
 * @author 伍文彬
 * @date 2021-04-25 09:14
 **/
@SpringBootApplication
public class ClientBootstrapApplication implements WebServerFactoryCustomizer<ConfigurableWebServerFactory> {


    public static void main(String[] args) {
        SpringApplication.run(ClientBootstrapApplication.class, args);
    }


    @Override
    public void customize(ConfigurableWebServerFactory factory) {
        factory.setPort(8090);
    }
}
